finalize-staged: Don't listen to `SIGTERM`, just let kernel exit us
authorColin Walters <walters@verbum.org>
Tue, 30 Aug 2022 20:23:38 +0000 (16:23 -0400)
committerColin Walters <walters@verbum.org>
Tue, 30 Aug 2022 21:50:03 +0000 (17:50 -0400)
commit683e4eff08d668f5a5c0cef1f38797ebfff36624
tree3a1a6a765508670ba209bd26328c283bdd397507
parent6651b72a7aa78dded2afe92c43124a336f415602
finalize-staged: Don't listen to `SIGTERM`, just let kernel exit us

Followup from discussion in
https://github.com/ostreedev/ostree/pull/2544#discussion_r958840936

This is more efficient; no need to have the kernel context switch
us in at shutdown time just so we can turn around and call
`exit()`.
src/ostree/ot-admin-builtin-finalize-staged.c